package com.fuqi.android.zhongcai.base.view.activity.deprecated;

import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;

import com.fuqi.android.zhongcai.R;
import com.fuqi.android.zhongcai.base.view.activity.BaseActivity;

import butterknife.Bind;

@Deprecated
public class WebDocActivity extends BaseActivity {


    @Bind(R.id.webview)
    WebView webView;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }


    @Override
    public void initView() {
        WebSettings settings = webView.getSettings();
        settings.setJavaScriptEnabled(true);
        webView.loadUrl(getIntent().getStringExtra("url"));
        titleBar.setTitle(getIntent().getStringExtra("title"));

    }

    @Override
    public void initListener() {

    }

    @Override
    public void initData() {

    }

    @Override
    public boolean hasTitleBar() {
        return true;
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_web_doc;
    }
}
